From: Jonas Dreßler Date: Sat, 28 Mar 2020 13:34:24 +0000 (+0100) Subject: layout: Use translation_y of 0 to hide keyboard X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~751^2^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b68fb3578318fa4b50e7fa79d544d53f8b4f74c9;p=gnome-shell.git layout: Use translation_y of 0 to hide keyboard Since we show the keyboard using a translation_y of -keyboardHeight, the keyboard will be moved down far enough to be out of sight by setting translation_y to 0. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1142 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index f688fa244..53a55c770 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -765,7 +765,7 @@ var LayoutManager = GObject.registerClass({ this._keyboardHeightNotifyId = 0; } this.keyboardBox.ease({ - translation_y: this.keyboardBox.height, + translation_y: 0, opacity: 0, duration: immediate ? 0 : KEYBOARD_ANIMATION_TIME, mode: Clutter.AnimationMode.EASE_IN_QUAD,